// smth new

void unpack_rgba( int rgba, char* r, char* g, char* b, char* a )
{
    *r = (char) ( rgba );
    *g = (char) ( rgba >> 8 );
    *b = (char) ( rgba >> 16 );
    *a = (char) ( rgba >> 24 );
    
}

int main()
{
    char red;
    char green;
    char blue;
    char alpha;


    unpack_rgba( 0x1F12FF44, &red, &green, &blue, &alpha );

    return 0;
}